/*
 * Copyright (c) 2006-2019, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author          Notes
 * 2019-08-15     xiangxistu      the first version
 */

#ifndef __PPP_USTILS_H__
#define __PPP_USTILS_H__

#include <rtthread.h>

typedef struct ppp_at_resp {
    int line_num;
    int max_size;
    char *buffer;
    rt_tick_t timeout;
} ppp_at_resp;

ppp_at_resp *ppp_at_resp_create(int line_num, int max_size, rt_tick_t timeout);
void ppp_at_resp_delete(ppp_at_resp *resp);

#endif /* __PPP_USTILS_H__ */
